-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated to swift 4.2 #11
base: master
Are you sure you want to change the base?
Conversation
c91f446
to
aed03fb
Compare
fileprivate var activityIndicatorView: UIActivityIndicatorView! | ||
private var originalDelegate: UIScrollViewDelegate? | ||
private var activityIndicatorView: UIActivityIndicatorView = { | ||
let indicatorView = UIActivityIndicatorView(style: .gray) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let indicatorView = UIActivityIndicatorView(activityIndicatorStyle: .gray)
@objc fileprivate func didValueChange(sender: AnyObject?){ | ||
setLoading(isLoading: true) | ||
addSubview(activityIndicatorView) | ||
bringSubviewToFront(activityIndicatorView) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bringSubview(toFront: activityIndicatorView)
@@ -75,7 +81,6 @@ extension UILoadControl { | |||
Initilize the control | |||
*/ | |||
fileprivate func initialize(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initialize() { (with space please)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and other methods where (){
|
||
extension UIView { | ||
|
||
public func swizzleMethod(from original: Selector, with method: Selector) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is not used. Not needed.
Found typo in comment: |
No description provided.